home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000149_news@columbia.edu_Wed Jan 11 14:43:05 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA14754
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 11 Jan 1995 09:43:10 -0500
  3. Received: by apakabar.cc.columbia.edu id AA06272
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 11 Jan 1995 09:43:08 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Status line is overwritten
  9. Date: 11 Jan 1995 14:43:05 GMT
  10. Organization: Columbia University
  11. Lines: 54
  12. Message-Id: <3f0qpq$63u@apakabar.cc.columbia.edu>
  13. References: <3f0ni6$fic@senior.nectec.or.th>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Keywords: Status line
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. In article <3f0ni6$fic@senior.nectec.or.th>,
  19. Sompop Kumnoonsate <sompop@morakot.nectec.or.th> wrote:
  20. >Is there a way to set kermit to display only 24 lines?
  21. >
  22. It is, by default.
  23.  
  24. >I use kermit 3.14 beta 8 to connect to DEC Alpha OSF 3.0.
  25. >The TERM environment is set to VT320.
  26. >DEC always sends <ESC>[25;1H when I use "more" and the next character
  27. >will display over status line.  If the screen is scrolled the first
  28. >line will show the last line of previous screen. But it will be
  29. >disappeared after redraw screen.
  30. >
  31. The vt320 has 24 regular lines and one status line.  The status line
  32. should not be addressed by regular cursor-positioning commands like
  33. <ESC>[25;1H, but rather by:
  34.  
  35.  CSI Ps $ }    DECSASD        Select active status display
  36.     Ps = 0 select main display
  37.     Ps = 1 select status line
  38.     Moves cursor to selected display area. This command will be
  39.     ignored unless the status line has been enabled by CSI 2 $
  40.     ~. When the status line has been selected cursor remains there
  41.     until the main display is reselected by CSI 0 $ }.
  42.  
  43.  CSI Ps $ ~    DECSSDT        Select Status Line Type
  44.             Ps    meaning
  45.             0     no status line (empty)
  46.             1    indicator line (locally owned, Kermit default)
  47.             2    host-writable line
  48.  
  49. Check your vt320 termcap entry.  There are items such as "hs, "ds",
  50. "es", "fs", "ts", and "ws" that are used to handle the status line.
  51.  
  52. Note that Kermit protects its status line from ordinary screen
  53. operations.  It does not scroll, it does not disappear when the screen
  54. is cleared, etc.  However, Kermit does allow the status line to be
  55. addressed directly by the host via <ESC>[25;xH, because this is commonly
  56. used by host applications like sysline, etc.
  57.  
  58. Some OTHER applications apparently rely on the fact that if you address
  59. a line (row) number that is greater than the actual number of lines,
  60. that the cursor will go to the last line.  (One program that absolutely
  61. relies on this fact is "resize".)
  62.  
  63. The problem comes in when we address "last line plus one" -- the purpose
  64. of this direct addressing is ambiguous.  So we have two classes of
  65. applications whose use of <ESC>[25;xH are in direct conflict with each
  66. other.
  67.  
  68. The solution, in UNIX at least, is to cook up separate termcap/terminfo
  69. entries for the two variations.
  70.  
  71. - Frank